import Vue from 'vue'

// 打印
/**
    <vue-easy-print ref="print" table-show>
      <template>
        <div id="print-template">
          // 你自己编写打印的模板---如下
          <approval-print />
        </div>
      </template>
    </vue-easy-print>
    调用： this.$refs.print.print()
*/
import VueEasyPrint from 'vue-easy-print'

import modulesTitle from './modulesTitle'
import Pagination from './Pagination'
import ItemTitle from './ItemTitle'
import Upload from './Upload'
import UploadSelect from './UploadSelect'
import Download from './Download'
import FilePreview from './FilePreview'
import wlGantt from './wl-gantt'
import commentView from './commentView'
import blank from './Blank'
import BreadcrumbTitle from "./breadcrumbTitle";
import historyView from './historyView'
import metaBreadcrumb from './metaBreadcrumb'
import approval from './approval/approval.vue'

// 注册一些常用的组件到全局
Vue.component('modulesTitle', modulesTitle)
Vue.component('pagination', Pagination)
Vue.component('itemTitle', ItemTitle)
Vue.component('upload', Upload)
Vue.component('uploadSelect', UploadSelect)
Vue.component('download', Download)
Vue.component('filePreview', FilePreview)
Vue.component('vueEasyPrint', VueEasyPrint)
Vue.component('wlGantt', wlGantt)
Vue.component('commentView', commentView)
Vue.component('blank', blank)
Vue.component('breadcrumbTitle', BreadcrumbTitle)
Vue.component('historyView', historyView)
Vue.component('metaBreadcrumb', metaBreadcrumb)
Vue.component('approval', approval)

